package com.example.njupt.okhttp.retrofit;

import java.io.Serializable;

/**
 * Author:      mwang
 * Create Date: Created in 2021/4/26 16:03
 * Update Date:
 * Modified By:
 * Description:
 */
public class BaseResult<T> implements Serializable {
    private int code;

    private T data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getResult() {
        return data;
    }

    public void setResult(T result) {
        this.data = result;
    }
}
